home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / perl / 5.10.0 / bits / syslog.ph < prev    next >
Encoding:
Text File  |  2009-06-26  |  428 b   |  16 lines

  1. require '_h2ph_pre.ph';
  2.  
  3. no warnings 'redefine';
  4.  
  5. unless(defined(&_SYS_SYSLOG_H)) {
  6.     die("Never include <bits/syslog.h> directly; use <sys/syslog.h> instead.");
  7. }
  8. if(defined(&__va_arg_pack)) {
  9. }
  10.  elsif(!defined (defined(&__cplusplus) ? &__cplusplus : undef)) {
  11.     eval 'sub syslog () {( &pri, ...)  &__syslog_chk ( &pri,  &__USE_FORTIFY_LEVEL - 1,  &__VA_ARGS__);}' unless defined(&syslog);
  12. }
  13. if(defined(&__USE_BSD)) {
  14. }
  15. 1;
  16.